package com.ruoyi.system.domain.vo.reportstatistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@ToString
public class DeviceStatusStatistics {
    @Excel(name = "设备名称")
    public String numberPlate;
    @Excel(name = "所属公司", width = 30)
    public String companyName;
    @Excel(name = "最后状态")
    public String vehicleStatus;
    @Excel(name = "最后定位时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date gdt;
    @Excel(name = "速度(km/h)")
    public Integer spd;
    @Excel(name = "总里程(km)")
    public Double kilometer;
    @Excel(name = "最后位置", width = 50)
    public String address;
    //里程值(米)
    public Integer mie;
    //所属公司ID
    public Long companyId;
    //公司简称
    public String companyShortName;
}
